home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / Xext / XShapeQueryExtension.z / XShapeQueryExtension
Encoding:
Text File  |  1998-10-30  |  5.9 KB  |  199 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSHHHHAAAAPPPPEEEE((((3333XXXX11111111))))       XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))        XXXXSSSSHHHHAAAAPPPPEEEE((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XShapeQueryExtension, XShapeQueryVersion,
  10.           XShapeCombineRegion, XShapeCombineRectangles,
  11.           XShapeCombineMask, XShapeCombineShape, XShapeOffsetShape,
  12.           XShapeQueryExtents, XShapeSelectInput, XShapeInputSelected,
  13.           XShapeGetRectangles - X nonrectangular shape functions
  14.  
  15.      SSSSYYYYNNNNTTTTAAAAXXXX
  16.           #include <X11/extensions/shape.h>
  17.  
  18.           Bool XShapeQueryExtension (
  19.                Display *dpy,
  20.                int *event_basep,
  21.                int *error_basep);
  22.  
  23.           Status XShapeQueryVersion (
  24.                Display *dpy,
  25.                int *major_versionp,
  26.                int *minor_versionp);
  27.  
  28.           void XShapeCombineRegion (
  29.                Display *dpy,
  30.                Window dest,
  31.                int destKind,
  32.                int xOff,
  33.                int yOff,
  34.                struct _XRegion *r,
  35.                int op);
  36.  
  37.           void XShapeCombineRectangles (
  38.                Display *dpy,
  39.                XID dest,
  40.                int destKind,
  41.                int xOff,
  42.                int yOff,
  43.                XRectangle *rects,
  44.                int n_rects,
  45.                int op,
  46.                int ordering);
  47.  
  48.           void XShapeCombineMask (
  49.                Display *dpy,
  50.                XID dest,
  51.                int destKind,
  52.                int xOff,
  53.                int yOff,
  54.                Pixmap src,
  55.                int op);
  56.  
  57.           void XShapeCombineShape (
  58.                Display *dpy,
  59.                XID dest,
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXSSSSHHHHAAAAPPPPEEEE((((3333XXXX11111111))))       XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))        XXXXSSSSHHHHAAAAPPPPEEEE((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.                int destKind,
  75.                int xOff,
  76.                int yOff,
  77.                Pixmap src,
  78.                int srcKind,
  79.                int op);
  80.  
  81.           void XShapeOffsetShape (
  82.                Display *dpy,
  83.                XID dest,
  84.                int destKind,
  85.                int xOff,
  86.                int yOff);
  87.  
  88.           Status XShapeQueryExtents (
  89.                Display *dpy,
  90.                Window window,
  91.                int *bShaped,
  92.                int *xbs,
  93.                int *ybs,
  94.                unsigned int *wbs,
  95.                unsigned int *hbs,
  96.                int *cShaped,
  97.                int *xcs,
  98.                int *ycs,
  99.                unsigned int *wcs,
  100.                unsigned int *hcs);
  101.  
  102.           void XShapeSelectInput (
  103.                Display *dpy,
  104.                Window window,
  105.                unsigned longmask);
  106.  
  107.           unsigned long XShapeInputSelected (
  108.                Display *dpy,
  109.                Window window);
  110.  
  111.           XRectangle *XShapeGetRectangles (
  112.                Display *dpy,
  113.                Window window,
  114.                int kind,
  115.                int *count,
  116.                int *ordering);
  117.  
  118.      SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
  119.           typedef struct {
  120.               int type;                 /* of event */
  121.               unsigned long serial;     /* # of last request processed by server */
  122.               Bool send_event;          /* true if this came frome a SendEvent request */
  123.               Display *display;         /* Display the event was read from */
  124.               Window window;            /* window of event */
  125.               int kind;                 /* ShapeBounding or ShapeClip */
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXSSSSHHHHAAAAPPPPEEEE((((3333XXXX11111111))))       XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))        XXXXSSSSHHHHAAAAPPPPEEEE((((3333XXXX11111111))))
  137.  
  138.  
  139.  
  140.               int x, y;                 /* extents of new region */
  141.               unsigned width, height;
  142.               Time time;                /* server timestamp when region changed */
  143.               Bool shaped;              /* true if the region exists */
  144.           } XShapeEvent;
  145.  
  146.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  147.           The _X_1_1 _N_o_n_r_e_c_t_a_n_g_u_l_a_r _W_i_n_d_o_w _S_h_a_p_e _E_x_t_e_n_s_i_o_n adds
  148.           nonrectangular windows to the X Window System.
  149.  
  150.      PPPPRRRREEEEDDDDEEEEFFFFIIIINNNNEEEEDDDD VVVVAAAALLLLUUUUEEEESSSS
  151.           Operations:
  152.                _S_h_a_p_e_S_e_t
  153.                _S_h_a_p_e_U_n_i_o_n
  154.                _S_h_a_p_e_I_n_t_e_r_s_e_c_t
  155.                _S_h_a_p_e_S_u_b_t_r_a_c_t
  156.                _S_h_a_p_e_I_n_v_e_r_t
  157.  
  158.           Shape Kinds:
  159.                _S_h_a_p_e_B_o_u_n_d_i_n_g
  160.                _S_h_a_p_e_C_l_i_p
  161.  
  162.           Event defines:
  163.                _S_h_a_p_e_N_o_t_i_f_y_M_a_s_k
  164.                _S_h_a_p_e_N_o_t_i_f_y
  165.  
  166.      BBBBUUUUGGGGSSSS
  167.           This manual pages needs a lot more work.
  168.  
  169.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  170.           _X_1_1 _N_o_n_r_e_c_t_a_n_g_u_l_a_r _W_i_n_d_o_w _S_h_a_p_e _E_x_t_e_n_s_i_o_n
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.      Page 3                                          (printed 4/30/98)
  196.  
  197.  
  198.  
  199.